const state = {
	count: 0,
}

const actions = {
	setCount({ commit }, val) {
		commit('SET_COUNT', val)
	},
}

const mutations = {
	SET_COUNT(state, val) {
		state.count += val
	},
}

export default {
	namespaced: true,
	state,
	actions,
	mutations,
}
